import Vue from 'vue'
import App from './App.vue'
//引入插件，引入前要npm i vue-resource来安装
import vueResource from 'vue-resource'
//使用插件
Vue.use(vueResource)

Vue.config.productionTip = false

new Vue({
  render: f => f(App),
  beforeCreate(){
    Vue.prototype.$bus= this
  }
})
.$mount('#app')
